<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<table>
			<tr>
				<td><input type="text" id="numId"></td>
				<td><button onclick="guess()">猜</button></td>
				<td><span id="result"></span></td>
			</tr>
		</table>
		<script type="text/javascript">
			function guess(){
				var num =document.getElementById('numId');
				var random = parseInt(Math.random() * 100 + 1);

			}
		</script>
	</body>
</html>